Efficient Normalization by Evaluation

نویسنده

  • Mathieu Boespflug
چکیده

Dependently typed theorem provers allow arbitrary terms in types. It is convenient to identify large classes of terms during type checking, hence many such systems provision some form of conversion rule. A standard algorithm for testing the convertibility of two types consists in normalizing them, then testing for syntactic equality of the normal forms. Normalization by evaluation is a standard technique enabling the use of existing compilers and runtimes for functional languages to implement normalizers, without peaking under the hood, for a fast yet cheap system in terms of implementation effort. Our focus is on performance of untyped normalization by evaluation. We demonstrate that with the aid of a standard optimization for higher order programs (namely uncurrying) and the reuse of pattern matching facilities of the evaluator for datatypes, we may obtain a normalizer that evaluates non-functional values about as fast as the underlying evaluator, but as an added benefit can also fully normalize functional values — or to put it another way, partially evaluates functions efficiently.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Compiled Implementation of Normalization by Evaluation

We present a novel compiled approach to Normalization by Evaluation (NBE) for ML-like languages. It supports efficient normalization of open λ-terms w.r.t. β-reduction and rewrite rules. We have implemented NBE and show both a detailed formal model of our implementation and its verification in Isabelle. Finally we discuss how NBE is turned into a proof rule in Isabelle.

متن کامل

Power allocation rules under fuzzy behavior and multicriteria situations

In this paper, we adopt supreme-utilities among fuzzy level (decision) vectors to propose a power allocation rule, its efficient extension and normalization in the framework of multicriteria fuzzy transferable-utility (TU) games. We also provide several axiomatic results to present the rationality for these rules. Based on different viewpoints, we introduce different formulations and dynamic re...

متن کامل

Normalization and Reliability Evaluation of Persian Version of Two-Pair Dichotic Digits in 8 to 12-Year-Old Children

Objectives: All subjects suspected of Central Auditory Processing Disorder (CAPD) were previously tested by free recall dichotic digits test (DDT). The study objective was normalization and reliability evaluation of two-pair DDT in 750 native Persian subjects aged 8 to 12 years. Materials: A total of 750 subjects were divided into five age groups varying between 8 years and 12 years and 11 mon...

متن کامل

Normalization and Compilation of Deductive and Object-Oriented Databases Programs for Efficient Query Evaluation

A normalization process is proposed to serve not only as a preprocessing stage for compilation and evaluation but also as a tool for classifying recursions. Then the query-independent compilation and chain-based evaluation method can be extended naturally to process a class of DOOD programs and queries. The query-independent compilation captures the bindings that could be diicult to be captured...

متن کامل

Quantitative Evaluation of Normalization Techniques of Matching Scores in Multimodal Biometric Systems

This paper attempts to make an quantitative evaluation of available normalization techniques of matching scores in multimodal biometric systems. Two new normalization techniques Four Segments Piecewise Linear (FSPL) and Linear Tanh Linear (LTL) have been proposed in this paper. FSPL normalization techniques divides the region of genuine and impostor scores into four segments and maps each segme...

متن کامل

Joint environment and speaker normalization using factored front-end CMLLR

The problem of joint compensation of environment and speaker variabilities is addressed. A factored feature-space transform, named factored front-end CMLLR (F-FE-CMLLR), is investigated, which comprises of the cascade of two transforms – front-end CMLLR for environment normalization and CMLLR for speaker normalization. In this paper, we propose an iterative estimation algorithm for F-FE-CMLLR. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009